package cn.tedu.anjiadb.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class UserUpdateDTO implements Serializable {
    private String              username;

    private String              password;

    private String              nickname;

    private Long                phoneNum;

    private String              mail;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birth;
}
